package com.syt.cellphone.information.data.pojo

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.android.parcel.Parcelize

/**
 *  @author: syt
 *  创建时间: 2020/8/3 15:32
 *  @功能   基础的手机信息类
 */
@Parcelize
@Entity(tableName = "phone_base")
data class PhoneBase(

    /**
    "baseId": 1290286,
    "baseName": "realmeX2（6GB/64GB/全网通）",
    "baseFeature": "VOOC4.0，6400万后置主摄像头，3200万超清前置",
    "basePrice": "1599",
    "baseImage": "https://2f.zol-img.com.cn/product/201_220x165/847/ceSLJZzIV76l.jpg",
    "baseRemarks": "/cell_phone/index1290286.shtml"
     */
    @PrimaryKey
    val baseId: Int,
    val baseName: String,
    val baseFeature: String,
    val basePrice: String,
    val baseImage: String,
    val baseRemarks: String
) : Parcelable